<script type="text/javascript">
$(function () {
	$.ajaxSetup({cache: false});
	getCodes_course();
	queryCourse_course ();
});


</script>
<#import "/freemarker/modeltype.ftl" as mt>
<div class="bg-light lter b-b wrapper-md">
  <h5>所属课程选择</h5>
</div>
<div class="widget-content">
	<div class="table-title">
		<form id="queryAidCourseForm">
			<table class="search_term_table">
				<tr>
					<th style="width:100px;">课程名称:</th>
					<td style="width: 200px;"><input type="text" name="cn" /></td>
					<td style="text-align:right;">
						<a class="btn b-xs btn-info" onclick="javascript: queryCourse_course(); return false;"><i class="icon-search"></i> 查  询</a>
						<a class="btn b-xs btn-primary" onclick="javascript: confirmCourse_course(); return false;">确 定</a>
					</td>
				</tr>
			</table>
			<input type="hidden" name="codes" id="codes"/>
		</form>
	</div>
</div>
<div id="material_courseResultList"></div>

<div class="wrapper-md ng-scope" style="width:35%;float:right;">
	<table class="table table-bordered">
		<thead>
			<tr>
				<th>名称 </th>
				<th style="width:60px;">操作 </th>
			</tr>
		</thead>
		<tbody id="addTbody">
		</tbody>
	</table>
</div>

<table id="tjTable" style="display: none;">
	<tr class="footable-even" style="display: table-row;">
		<td></td>
		<td>
			<input type="hidden" class="cc"/>
			<button class="btn btn-xs btn-danger" onclick="javascript: deleteChoiseCourse_course($(this)); return false;" title="删除">
			<i class="icon-remove"></i>
		</td>
	</tr>
</table>